home *** CD-ROM | disk | FTP | other *** search
- _root.mcB.onLoad = function()
- {
- this.funcInit = function()
- {
- this.nTypeCount = 0;
- this.arrType = new Array();
- _root.funcType();
- _root.mcB.arrType[12] = 12;
- this.nCount = 0;
- _root.arrM = new Array();
- i = 0;
- while(i <= 7)
- {
- _root.arrM[i] = new Array();
- j = 0;
- while(j <= 7)
- {
- this.pathM = eval("this.mcM" + i + j);
- this.pathM.onLoad = function()
- {
- ranN = Math.random();
- if(ranN < 0.005)
- {
- _root.arrM[i][j] = this.nType = _root.mcB.arrType[12];
- }
- else
- {
- _root.arrM[i][j] = this.nType = _root.mcB.arrType[Math.floor(Math.random() * _root.nType)];
- }
- this.gotoAndStop(this.nType);
- this.mcM.gotoAndStop("flD");
- };
- this.pathM.onLoad();
- j++;
- }
- i++;
- }
- };
- this.funcInit();
- _root.funcinitMatchCheck();
- };
- _root.mcB.onLoad();
- _root.funcInitRound();
-